#ifndef HTTPSERVER_H
#define HTTPSERVER_H

#include <QObject>

#include "server.h"
#include "httprequest.h"

class QTcpServer;

class HttpServer : public Server
{
    Q_OBJECT
public:
    HttpServer(int port, QObject *parent = 0);

    void connectClient();
    void disconnectClient();


public Q_SLOTS:
    void processRequest(HttpRequest request);

};

#endif // HTTPSERVER_H
